import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import channels from './modules/channels'

Vue.use(Vuex)

export default new Vuex.Store({
  // state: {
  //   token: {}
  // },
  // getters: {},
  // mutations: {
  //   setToken(state, payload) {
  //     state.token = payload
  //   }
  // },
  // actions: {},
  strict: process.env.NODE_ENV !== 'production',
  modules: {
    user,
    channels
  }
})
